import axios from "axios";

const user = {
    //修改用户状态
    updateUserStatus(id,status){
        return axios({
            url:'/api/user/updateUserStatus/'+id+'/'+status,
            method:'post'
        });
    },
    //用户导出excel
    userDownLoad(){
        return axios({
            url:'/api/user/userDownLoad',
            method: 'get',
            responseType: 'blob'
        });
    },
    //修改用户
    updateUserByEntity(id,password,entity){
        return axios({
            url:'/api/user/updateUserByEntity',
            method:'post'
        })
    },

}

export default user;